Remove bogus error message in libxenctrl.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 15 Oct 2005 15:25:29 +0000 (16:25 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 15 Oct 2005 15:25:29 +0000 (16:25 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/libxc/xc_private.c

index 94cc947400f8bd5e934cdb07644d68ce3cb868dd..ea3798ebca905fdc2f59f41941f3b5167d11f3b2 100644 (file)
@@ -114,11 +114,7 @@ int xc_mmuext_op(
         goto out1;
     }
 
-    if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
-    {
-        fprintf(stderr, "Dom_mmuext operation failed (rc=%ld errno=%d)-- need to"
-                " rebuild the user-space tool set?\n",ret,errno);
-    }
+    ret = do_xen_hypercall(xc_handle, &hypercall);
 
     safe_munlock(op, nr_ops*sizeof(*op));
 
@@ -227,11 +223,7 @@ int xc_memory_op(int xc_handle,
         break;
     }
 
-    if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
-    {
-        fprintf(stderr, "hypercall failed (rc=%ld errno=%d)-- need to"
-                " rebuild the user-space tool set?\n",ret,errno);
-    }
+    ret = do_xen_hypercall(xc_handle, &hypercall);
 
     switch ( cmd )
     {